import request from "@/utils/request";

// 总后台根据ID查询企业详细信息
export function getEnterpriseInfo(id) {
  return request({
    url: `/manager/enterprise/getEnterpriseInfo/${id}`,
    method: "get"
  });
}

// 总后台获取企业列表
export function enterpriseList(params) {
  return request({
    url: `/manager/enterprise/list`,
    method: "get",
    params,

  });
}
// 企业信息
export function managerDetail(params) {
  return request({
    url: `/manager/enterprise/manager/detail`,
    method: "get",
    params,

  });
}

// 维保机构获取企业详细信息
export function enterpriseOrgDetail(params) {
  return request({
    url: `/manager/enterprise/org/detail`,
    method: "get",
    params,

  });
}



// 修改企业信息
export function putEnterprise(data) {
  return request({
    url: `/manager/enterprise`,
    method: "put",
    data,

  });
}





